// 创建编辑器
function createEditor(id){
    UE.delEditor(id);
    var ue = UE.getEditor(id,{
        // toolbars: [
        //     ['fullscreen', 'source', 'undo', 'redo', 'bold']
        // ],
        autoHeightEnabled: false,
        enableAutoSave: false,
        enableContextMenu: false,
        elementPathEnabled: false,
        wordCount: false,
        allowDivTransToP: false,
        initialFrameWidth:970,
        initialFrameHeight:300
    });
    console.log(ue.getOpt('initialFrameHeight'));
    return ue;
}